fix: testing repo access 404 error - #799
Conversation
testing仓库的dde组件被去掉了,因此在这个里面也去掉。
Reviewer's guide (collapsed on small PRs)Reviewer's Guide.github workflow is updated to remove the deprecated 'dde' component from the testing repository entries, preventing 404 errors when configuring apt sources during the dev-doc deployment job. Flow diagram for updated apt sources configuration in deploy-dev-doc workflowflowchart TD
A[deploy-dev-doc job starts] --> B[Remove default /etc/apt/sources.list]
B --> C[Add deepin_Develop_dde repo]
C --> D[Add deepin_community_testing repo
components: main community commercial]
D --> E[Add deepin_community_stable repo
components: main community commercial]
E --> F[Run apt-get update]
F --> G[Install dependencies]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, hudeng-go The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Since the same testing repository URL and component list are echoed twice (deb and deb-src), consider extracting these into a shared variable or here-doc snippet to avoid divergence if they need updating again.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Since the same testing repository URL and component list are echoed twice (deb and deb-src), consider extracting these into a shared variable or here-doc snippet to avoid divergence if they need updating again.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
deepin pr auto review★ 总体评分:100分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 rm /etc/apt/sources.list
# 优先配置 dde 专属开发源,确保拉取最新开发版 dde 组件
echo "deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/dde/deepin_develop/ ./" > /etc/apt/sources.list
echo "deb-src [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/dde/deepin_develop/ ./" >> /etc/apt/sources.list
# 配置社区测试源,排除 dde 组件以避免与上方专属源产生版本冲突
echo "deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main community commercial" >> /etc/apt/sources.list
echo "deb-src [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main community commercial" >> /etc/apt/sources.list
echo "deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ beige main community commercial" >> /etc/apt/sources.list
echo "deb-src [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ beige main community commercial" >> /etc/apt/sources.list
apt-get update && apt-get install -y --force-yes ca-certificates apt-transport-https sudo |
testing仓库的dde组件被去掉了,因此在这个里面也去掉。
Summary by Sourcery
Build: